def read_file(file_path: str, mode: str = "r"):
    with open(file_path, mode) as f:
        return f.read()
